function invitefriends() {
//	var fenxiangUrl = fenxiang + '?tjuser=' +sessionStorage.fenxiang;
//	$('.link_address .adderss').html(fenxiangUrl);
//	var width = window.screen.width / 750 * 220;
//	jQuery('.img').qrcode({
//		width: width,
//		height: width,
//		correctLevel: 0,
//		text: fenxiangUrl
//	});
		
/*	var myCanvas = document.getElementsByTagName("canvas")[0];
	var img = convertCanvasToImage(myCanvas);
	$(".img").html('').append(img);
	function convertCanvasToImage(canvas) {
		//新Image对象,可以理解为DOM;
		var image = new Image();
		//canvas.toDataURL返回的是一串Base64编码的URL,当然,浏览器自己肯定支持
		//指定格式PNG
		image.src = canvas.toDataURL("image/png");
		return image;
	}*/
	
	
	myajax({
		url:server.imglink,
		data:{
			mobile:sessionStorage.phone
		},
		sfun:function(data){
			mylayer(data.msg);
			if(data.status == 200){
				var imgUrl = hosts +'/'+ data.data.qrc;
				var links = data.data.url;
				$('#recharge img').attr('src',imgUrl);
				$('#recharge .adderss').html(links);
			}
		},
		efun:function(){
			
		}
	})
	
}